<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+
/**
 * 判断当前的运行环境是否是cli模式
 */
function is_cli(){
    return preg_match("/cli/i", php_sapi_name()) ? true : false;
}
//if(!is_cli()) exit('非法操作！');
// 绑定API模块
define('BIND_MODULE', 'shell');

// 加载公共引导文件
require './public.php';
